package ooday02;

public class Student extends Person {
    String classname;
    String stuId;
    Student(String name, int age, String address, String stuId){
        super(name,age,address);

      this.stuId=stuId;
}
    void study(){
        System.out.println(name+"正在学习");
    }
    void sayHi(){
        System.out.println("我叫"+name+"我今年"+age+"住在"+address+"班级名"+classname+"学号"+stuId);
    }
}
